$(document).ready(function(){
	$("a.plus_one").click(function(){
		var self = this;
		var incident_id= $(this).attr("data-incident_id");
		$.post("/nitpicker/plus_one.php", {"incident_id": incident_id}, function(data){
			$(self).hide();
			$(self).siblings(".rating").html(data["total_rating"]);
			}, "json");
	});
	
});
